package cn.itcast.eduservice.client;

import cn.itcast.commonutils.R;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class VodFileDegradeFeignClient implements VodClient{
    // 出错之后会执行

    @Override
    public R removeAliyunVideo(String id) {
        return R.error().message("删除视频出错了");
    }

    @Override
    public R removeMoreAliyunVideo(List<String> ids) {
        return R.error().message("删除多个视频出错了");
    }
}
